from django.contrib import admin

# Register your models here.

from Area.models import AreaInfo


class AreaInfoAdmin(admin.ModelAdmin):
    """地区信息的后台管理类"""

    list_display = ("id", 'pid', 'cityname', 'type')


# 想后台管理注册地区信息/地区信息管理类
admin.site.register(AreaInfo, AreaInfoAdmin)
